package com.whcoding.test.pojo.alarm;

import lombok.Data;

import java.io.Serializable;

@Data
public class SortField implements Serializable {

    private static final long serialVersionUID = 6574869152035400394L;
    public static final String FIELD_REGEX = "((\\w+\\.)?\\w+)|((\\[\\w+\\]\\.)?\\[\\w+\\])|((`\\w+`\\.)?`\\w+`)";
    private String field;
    private String direction;

    public SortField() {
    }

}
